<!--
 * @Author: yhlz-${username}
 * @Date: 2022-02-06 16:34:51
 * @LastEditTime: 2022-02-28 23:06:45
 * @LastEditors: yhlz-${username}
 * yhlz.com
-->
<template>
  <el-container>
    <el-aside width="auto">
      <nav-side :collapse="isCollapse"></nav-side>
    </el-aside>
    <el-container>
      <el-header>
        <nav-header v-model:collapse="isCollapse"></nav-header>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script lang="ts" setup>
import navHeader from "./navHeader/index.vue";
import navSide from "./navSide/index.vue";
import { ref } from "vue";
let isCollapse = ref(false);
</script>

<style scoped>
.el-header {
  padding: 0;
  border-bottom: 1px solid #eef0f2;
}
</style>
